<template>
  <div id="app">
    <router-view></router-view>
    <!-- 回到顶部 -->
    <el-backtop target="#app" :visibility-height="100" :bottom="100">
      <div style="{
        height: 100%;
        width: 100%;
        background-color: #f2f5f6;
        box-shadow: 0 0 6px rgba(0,0,0, .12);
        text-align: center;
        line-height: 40px;
        color: #1989fa;
      }">
        UP
      </div>
    </el-backtop>
  </div>
</template>

<script>
export default {
  name: "app"
};
</script>

<style>
#app {
  overflow-y: auto;
}
</style>
